/**
 * There are <a href="https://github.com/thinkgem/jeesite">JeeSite</a> code generation
 */
package com.chlitina.store.modules.expert.service;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;
import org.hibernate.criterion.Order;
import org.hibernate.criterion.Restrictions;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.chlitina.store.common.service.BaseService;
import com.chlitina.store.modules.expert.dao.SolutionFaceDao;
import com.chlitina.store.modules.expert.entity.SolutionFace;
import com.chlitina.store.modules.sys.entity.Area;

/**
 * 面部护理方案Service
 * @author lvbo
 * @version 2013-06-07
 */
@Component
@Transactional(readOnly = true)
public class SolutionFaceService extends BaseService {

	@SuppressWarnings("unused")
	private static Logger logger = LoggerFactory.getLogger(SolutionFaceService.class);
	
	@Autowired
	private SolutionFaceDao solutionFaceDao;
	
	@Autowired
	private SystemDefinitionAreaSeasonService systemDefinitionAreaSeasonService;
	
	public SolutionFace get(Long id) {
		return solutionFaceDao.findOne(id);
	}
	
	public List<SolutionFace> findAll() {
		return (List<SolutionFace>) solutionFaceDao.findAll();
	}
}
